package com.baiyang.server.dao.book;

import com.baiyang.server.dao.BaseDao;
import org.apache.ibatis.annotations.Mapper;

import com.baiyang.server.model.book.Stock;
import org.apache.ibatis.annotations.Param;
import org.springframework.security.core.parameters.P;

@Mapper
public interface StockDao extends BaseDao<Stock> {
    /**
     * 修改库存信息
     * @param bookId
     * @param num
     */
    void updateStock(@Param(value = "bookId") String bookId, @Param(value = "stock") Integer num);
}
